Data delay circuit

ABSTRACT

A data delay circuit effectively provides a delayed serial digital data signal, with the ability to change the delay amount continuously, by delaying a lower frequency parallel data clock rather than the serial digital data signal directly. A first delay circuit  102  receives a parallel data clock which is delayed according to a first control signal to provide a delayed parallel data clock. The frequency of the parallel data clock is lower than that of a serial data clock so the first delay circuit  102  may be a delay device that provides a larger delay. A phase-locked loop  114  receives the delayed parallel data clock to generate the serial data clock in phase with the delayed parallel data clock. A parallel-to-serial converter  112  reads an n-bit parallel digital data signal from a memory  100  according to the delayed parallel data clock, and converts the parallel digital data signal to the serial digital data signal according to the serial data clock S_CLK. If the first control signal changes continuously, the delay of the delayed parallel data clock changes and the delay of the serial digital data signal also changes so that the serial digital data signal appears to have jitter.

BACKGROUND OF THE INVENTION

[0001] The present invention relates to digital circuits, and more particularly to a data delay circuit for arbitrarily controlling a delay for a serial digital data signal.

[0002] A digital circuit generally has many blocks coupled together and, when a digital data signal is sent from one block to the next block, it is sometimes necessary to delay the digital data signal by a given amount. Japanese Patent Publication No. H06-177722 (unexamined) discloses an example of such delay technology. A serial-to-parallel shift register converts a serial digital data signal into a four-bit parallel digital data signal, each bit being provided to a separate one of four shift registers respectively. The clock speed of each shift register can be one fourth of a master clock speed so that inexpensive ones are used. Each of the four shift registers has eight delay outputs. A multiplexer is provided for each of the four shift registers so that there are four multiplexers in total. The multiplexers are controlled to select the same delay output from the four shift registers at the same time. Which delay output of the shift registers the corresponding multiplexers select determines the delay amount of the digital data. A parallel-to-serial shift register converts the digital data from the four multiplexers into a serial digital data signal that is delayed relative to the original serial digital data signal by a given time determined by the multiplexers.

[0003] Japanese Patent Publication No. 08-129878 (examined) also discloses similar technology. It converts a serial digital data signal into a parallel digital data signal, each bit of which is delayed, and the delayed bits are converted into a serial digital data signal again to achieve the desired serial digital data signal delay.

[0004] All of the above-described prior art produce a delayed serial digital data signal that is synchronized with the same clock as that of the original serial digital data signal, this clock being called a master clock or a system clock. This is because the serial digital data signal is expected to maintain the same timing in the next block of the digital circuit. The technology disclosed in the above Japanese Patent Publication No. 08-129878 is typically used for television signal processing in such products as a frame synchronizer, etc.

[0005] There are other applications in which the delay of the serial digital data signal is not an integral multiple of the master clock cycle or is not synchronized with the master clock. One example is the generation of a test digital data signal for use in jitter tolerance testing the digital circuit. In jitter tolerance testing the test digital data signal in which jitter is intentionally introduced is provided to a circuit under test to determine how much jitter is acceptable for proper operation of the circuit under test. The digital data signal for jitter tolerance testing may be produced by delaying a normal digital data signal that is usually provided to the circuit under test. But the jittered digital data signal is not necessarily synchronized with the master clock.

[0006] What is desired is a data delay circuit that is useful for delaying a serial digital data signal that is not necessarily synchronized with a master clock, that is simple, and that allows continual (analog-like) change of the delay amount of the serial digital data signal to produce a serial digital data signal that includes jitter.

BRIEF SUMMARY OF THE INVENTION

[0007] Accordingly the present invention provides a data delay circuit that produces a serial digital data signal with an arbitrary amount of delay when it converts a parallel digital data signal into the serial digital data signal. The parallel digital data signal may be supplied directly from a memory or from the conversion of a serial digital data signal via a serial-to-parallel converter. The data delay circuit may include a voltage controlled delay device that changes a delay amount continuously according to a control signal. The data delay circuit receives a parallel data clock and provides a delayed parallel data clock according to the control signal. A parallel-to-serial converter converts the parallel digital data signal into the serial digital data signal using the delayed parallel data clock. A control means provides the control signal to the data delay circuit to control the amount of delay for the serial digital data signal. The parallel-to-serial converter may have a phase-locked clock generator. The phase-locked clock generator produces a serial data clock having a frequency that is an integer multiple of the parallel data clock frequency, the integer multiple corresponding to the number of bits per word of the parallel digital data signal. The phase of the serial data clock is locked to that of the delayed parallel data clock. The data delay circuit may further have a data buffer that temporally stores the parallel digital data signal when a serial-to-parallel converter is used as a means for providing the parallel digital data signal from an input serial digital data signal. The data buffer also may be used if a memory is used as the parallel digital data signal source. The control signal provided to the data delay circuit may not be constant and may change continuously like a sine wave, for example, to allow the delay of the serial digital data signal to also change continuously to produce a serial digital data signal that includes jitter.

[0008] The objects, advantages and other novel features of the present invention are apparent from the following detailed description when read in conjunction with the appended claims and attached drawing.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

[0009]FIG. 1 is a block diagram view of a data delay circuit according to a first embodiment of the present invention.

[0010]FIG. 2 is a timing chart view of a delayed parallel data clock and a serial data clock for a data delay circuit according to the present invention.

[0011]FIG. 3 is another timing chart view of a delayed parallel data clock and a serial data clock for a data delay circuit according to the present invention.

[0012]FIG. 4 is a block diagram view of a data delay circuit according to a second embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0013] Referring now to FIG. 1 a memory 100 stores a parallel digital data signal. A parallel-to-serial (P/S) converter 112 in a conversion block 110 converts the parallel digital data signal from the memory 100 into a serial digital data signal. A suitable conversion block 110 is available as an IC package and is well known in the art. This embodiment shows an example where each word of the parallel digital data signal is eight bits, but any number of bits per word may be used. A first delay circuit 102 is typically a voltage controlled delay device and delays an input digital signal according to a first control signal (CTRL 1). If the voltage of the first control signal CTRL 1 changes continuously, the delay amount also changes continuously. The first delay circuit 102 receives and delays a parallel data clock P_CLK to provide a delayed parallel data clock DP_CLK.

[0014] A signal source of the parallel data clock is not shown since any known clock generating means may be used to generate it. An example of parallel data clock generation is the extraction of a master clock component from the serial digital data of a digital television signal, which master clock component is divided according to the number of bits per word to produce the parallel data clock P_CLK.

[0015] The memory 100 receives the delayed parallel data clock DP_CLK at a read terminal R which determines the read timing of a delayed parallel digital data signal DP_DATA from the memory. The delayed parallel data clock DP_CLK also is provided to a phase-lock loop circuit 114 in the conversion block 110 to produce a serial data clock S_CLK that is phase locked to the delayed parallel data clock DP_CLK and has a frequency that is, for this example, eight times as high as the frequency of DP_CLK. The PLL 114 also produces a parallel data load signal P_LOAD phase locked to the delayed parallel data clock DP_CLK. The delayed parallel data DP_DATA is loaded into the parallel-to-serial converter 112 in response to the parallel data load signal P_LOAD. The parallel data load signal P_LOAD has the same frequency as the delayed parallel data clock DP_CLK, but the phase is adjusted to be delayed slightly relative to the DP_CLK so that the parallel-to-serial converter 112 can load the delayed parallel data DP_DATA read from the memory 100 in response to the delayed parallel data clock DP_CLK. The parallel-to-serial converter 112 provides a serial digital data signal S_DATA according to the serial data clock S_CLK.

[0016] A second delay circuit 118 may provide additional delay to the serial digital data signal S_DATA if necessary. The second delay circuit 118 also may be a voltage controlled delay device that delays the input serial digital data signal according to a second control signal CTRL 2. Similar to the above, if the voltage of the second control signal CTRL 2 changes continuously, the delay amount applied to S_DATA also changes continuously.

[0017] A control circuit 116, such as a microprocessor etc., provides the first and second control signals CTRL 1 and CTRL 2 to the first delay circuit 102 and the second delay circuit 118, respectively, for controlling the respective delays.

[0018] Presently a voltage controlled delay device that has a lower input frequency range also has a larger delay capability. The frequency of the delayed parallel data clock DP_CLK that the first delay circuit 102 receives is, for this example, about eight times slower on average than the speed of the serial digital data signal S_DATA that the second delay circuit 118 receives. Therefore, the first delay circuit 102 may be a voltage controlled delay device that has a larger delay than that used for the second delay circuit 118. Accordingly, the first delay circuit 102 applies a larger delay to P_CLK than the second delay circuit 118 does to S_DATA.

[0019] Referring to FIG. 2 a period of the delayed parallel data clock DP_CLK is T1 at first and the serial data clock S_CLK is phase-locked to the delayed parallel data clock DP_CLK. In this example there are eight cycles of the serial data clock S_CLK during one period of the delayed parallel data clock DP_CLK. At time d3 the delay amount of the first delay circuit 102 is changed so that the delayed parallel data clock DP_CLK advances in phase by Φ, and the period of the delayed parallel data clock DP_CLK is changed to be T2. Therefore, the leading edge of the serial data clock S_CLK is delayed relative to the corresponding leading edge of the delayed parallel data clock DP_CLK at the time d3. This controls the voltage-controlled oscillator (not shown) in the PLL 114 to shorten the periods of the serial data clock S_CLK so that the leading edge of the serial data clock S_CLK at time d4 meets the corresponding leading edge of delayed parallel data clock DP_CLK after time T1.

[0020] As shown in FIG. 2 the recent breakthrough of device technology makes it possible to provide such a device to smoothly align the phase of the serial parallel data clock S_CLK with that of the delayed parallel clock DP_CLK without the phase oscillating. However, there is a device that can align the phases after the phase of the serial data clock S_CLK oscillates. FIG. 3 shows an example of such a case where the phase is late with respect to DF_CLK at d3 and early at d4, but finally aligns at d5.

[0021] Referring to FIG. 2 again, the control circuit 116 changes the first control voltage CTRL 1, for example, to 1 V from 2V at the time d3, and keeps the voltage. Then, the phase of the delayed parallel data clock DP_CLK keeps the phase Φ advance relative to the parallel data clock P_CLK. On the other hand, if the voltage of the first control signal CTRL 1 changes, for example, to 2V from 1V (not shown), the delayed parallel data clock DP_CLK delays by the phase Φ relative to the parallel data clock P_CLK. Further, if the voltage of the control signal CTRL 1 changes continuously like a sine wave, phases of the delayed parallel data clock DP_CLK and the serial data clock S_CLK also oscillate backward and forward repeatedly. As described above, if the phase of the delayed parallel data clock DP_CLK changes according to the voltage variation of the first control signal CTRL 1, the phase of the serial data clock S_CLK also changes in a like manner. If the phase of serial data clock S_CLK oscillates, the serial data S_DATA also oscillates, which appears as jitter. Therefore, the data delay circuit according to the present invention may make the voltages of the control signals, provided to the first delay circuit 102 and the second delay circuit 118, change according to a desired waveform in order to introduce jitter in the serial digital data signal for jitter tolerance testing. Typically, the control circuit 116 changes the voltage of the first control signal CTRL 1 that is provided to the first delay circuit 102 according to a sine wave.

[0022]FIG. 4 shows another embodiment according to the present invention. This case is suitable if there is an input serial digital data signal that is to be delayed instead of an already stored parallel digital data signal. Blocks corresponding to FIG. 1 have the same symbols below.

[0023] A serial-to-parallel (S/P) converter 101 receives and converts the input serial digital data signal according to a master clock M_CLK to provide an eight-bit parallel digital data signal P_DATA according to the parallel data clock P_CLK described below. The clock for reading the parallel digital data signal P_DATA from the serial-to-parallel converter 101 is not the delayed parallel data clock DP_CLK because if the frequency of the read clock is not constant, the serial-to-parallel converter 101 may not operate properly. For example, if the read clock is slow, the input serial digital data signal stored in the serial-to-parallel converter 101 might overflow with more than eight bits per clock cycle. The master clock M_CLK is a reference clock for the serial digital data signal in a normal operating digital circuit as described in the above prior art.

[0024] A divider 103 receives the master clock M_CLK to divide the frequency, in this example, by eight because the number of bits per word of the parallel digital data signal P_DATA is eight to produce the parallel data clock P_CLK. The parallel data clock P_CLK is also provided to the first delay circuit 102 and a first-in, first-out (FIFO) buffer 104. The first delay circuit 102 delays the parallel data clock P_CLK according to the first delay control signal CTRL 1 to provide the delayed parallel data clock DP_CLK. The FIFO 104 stores the parallel digital data signal P_DATA according to the parallel data clock P_CLK, and provides the delayed parallel digital data signal DP_DATA according to the delayed parallel data clock DP_CLK.

[0025] The voltage of the first control signal CTRL 1 may be changed like a sine wave, for example. This allows the phase of the delayed parallel data clock DP_CLK to advance or delay repeatedly relative to the parallel data clock P_CLK. Therefore, the phase of the delayed parallel digital data signal DP_DATA read from the FIFO 104 according the delayed parallel data clock DP_CLK also advances or delays repeatedly relative to the parallel data clock P_CLK. That is, the delayed parallel digital data signal DP_DATA includes jitter. The process of the delayed parallel data DP_DATA following the parallel-to-serial converter 112 in the conversion block 110 is similar to the first embodiment described above.

[0026] Thus a data delay circuit is provided for a serial digital data signal where the delay amount is not limited to an integral multiple of the clock period, may be any arbitrary value, and also may be continuously changed. The continuous change of the delay amount produces a serial digital data signal that includes intentional jitter for jitter tolerance testing. Because the delay of the parallel data clock (for example, the delayed parallel data clock DP_CLK in the above embodiment) is controlled with respect to a parallel digital data signal before conversion to a serial digital data signal, the input clock frequency of the delay circuit is relatively low. This allows selecting a delay device that has a low input frequency while providing a larger and more effective delay than delaying a serial digital data signal directly. 

What is claimed is:
 1. A data delay circuit comprising: means for delaying a parallel data clock by an arbitrary amount determined by a control signal to produce a delayed parallel data clock; and means for converting a parallel digital data signal having n-bit words to a delayed serial digital data signal phase-locked to the delayed parallel data clock.
 2. The circuit as recited in claim 1 wherein the converting means comprises means for generating a serial data clock phase-locked to the delayed parallel data clock, the serial data clock being used to convert the parallel digital data signal to the delayed serial digital data signal.
 3. The circuit as recited in claim 2 wherein the frequency of the serial data clock is n-times the frequency of the delayed parallel data clock.
 4. The circuit as recited in claim 1 wherein the control signal comprises a constantly varying voltage signal so that the arbitrary amount constantly changes, resulting in the delayed serial digital data signal having jitter.
 5. The circuit as recited in claim 1 further comprising means for buffering the parallel digital data signal such that the parallel digital data signal is input to the buffering means according to the parallel data clock and output from the buffering means to the converting means according to the delayed parallel data clock.
 6. The circuit as recited in claim 5 further comprising means for converting an input serial digital data signal to the parallel digital data signal for input to the buffering means. 